package com.quad.innovators.salesease.mapper.base;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quad.innovators.salesease.model.entity.base.Shop;
import com.quad.innovators.salesease.model.query.base.ShopPageQuery;
import com.quad.innovators.salesease.model.vo.base.ShopVO;
import org.apache.ibatis.annotations.Param;


public interface ShopMapper extends BaseMapper<Shop> {

    Page<ShopVO> listPaged(Page<ShopVO> page, @Param("queryParams") ShopPageQuery queryParams);

    Shop getFormDataByCode(@Param("code") String code);
}